local times = redis.call('get',KEYS[1])
if (tonumber(times) < 1)then
	return 0 
else
	redis.call('decr',KEYS[1])
	return 1 
end